#include "SDL_GameState.h"
#include "Game.h"
#include <cassert>

void SDL_GameState::SetVsync(int interval)
{
}
void SDL_GameState::ChangeState(SDL_GameState* gs)
{
	//base implementation.
	 TheGame::Instance()->RequestChange(gs);
}
//Rubbish! Redo this!
float SDL_GameState::Random(float min, float max)
{
    float range = max - min;
    if(range < 1)
        range = 1.0f;
    int num = rand() % (int)range;
    return( num + min );
}
void SDL_GameState::CheckErrors()
{
   
}
void SDL_GameState::RenderText(float x, float y, const std::string& s, float r, float g, float b) 
{
}
